import React from 'react'

//增加
export async function apiStockLibraryManageAdd(params) {
    return await React.$post('/manage/api/b/management/stockLibraryManage/add', params);
}
//删除
export async function apiStockLibraryManageDel(params) {
  return await React.$post('/manage/api/b/management/stockLibraryManage/del', params);
}
//修改
export async function apiStockLibraryManageEdit(params) {
  return await React.$post('/manage/api/b/management/stockLibraryManage/edit', params);
}
//分页
export async function apiStockLibraryManagePage(params) {
  return await React.$post('/manage/api/b/management/stockLibraryManage/page', params);
}
//详情
export async function apiStockLibraryManageView(params) {
  return await React.$post('/manage/api/b/management/stockLibraryManage/view', params);
}
// 列表查询负责人
export async function apiSysUserList(params) {
  return await React.$post('/manage/api/b/management/sys/user/list', params);
}
// 仓库list
export async function apiStockLibraryManageList(params) {
  return await React.$post('/manage/api/b/management/stockLibraryManage/list', params);
}

// 供应商添加
export async function apiStockSupplierManageAdd(params) {
  return await React.$post('/manage/api/b/management/stockSupplierManage/add', params);
}
// 供应商编辑
export async function apiStockSupplierManageEdit(params) {
  return await React.$post('/manage/api/b/management/stockSupplierManage/edit', params);
}
// 供应商删除
export async function apiStockSupplierManageDel(params) {
  return await React.$post('/manage/api/b/management/stockSupplierManage/del', params);
}
// 供应商详情
export async function apiStockSupplierManageView(params) {
  return await React.$post('/manage/api/b/management/stockSupplierManage/view', params);
}
// 供应商分页
export async function apiStockSupplierManagePage(params) {
  return await React.$post('/manage/api/b/management/stockSupplierManage/page', params);
}
// 供应商列表
export async function apiStockSupplierManageList(params) {
  return await React.$post('/manage/api/b/stockSupplierManage/page', params);
}

// 分类
// 分类树
export async function apiGoodsClassifyTree(params) {
  return await React.$post('/manage/api/b/management/goodsClassify/tree', params);
}
// 物品管理sku列表
export async function apiStockLibraryManageSkuPage(params) {
  return await React.$post('/manage/api/b/management/stockLibraryManage/skuPage', params);
}
// 商品库存预警列表
export async function apistockLibraryGoodsWarning(params) {
  return await React.$post('/manage/api/b/management/stockLibraryGoods/warning', params);
}

// 修改库存预警
export async function apiStockLibraryGoodsEdit(params) {
  return await React.$post('/manage/api/b/management/stockLibraryGoods/edit', params);
}
// 出库类型管理分页
export async function apiTSysDictionariesPage(params) {
  return await React.$post('/manage/api/b/management/tSysDictionaries/page', params);
}
// 出库类型管理新增
export async function apiTSysDictionariesAdd(params) {
  return await React.$post('/manage/api/b/management/tSysDictionaries/add', params);
}
// 出库类型管理编辑
export async function apiTSysDictionariesEdit(params) {
  return await React.$post('/manage/api/b/management/tSysDictionaries/edit', params);
}
// 出库类型管理查看编辑
export async function apiTSysDictionariesView(params) {
  return await React.$post('/manage/api/b/management/tSysDictionaries/view', params);
}
// 出库类型管理删除
export async function apiTSysDictionariesDel(params) {
  return await React.$post('/manage/api/b/management/tSysDictionaries/del', params);
}
